package com.cqjtu.eecs.entity;

import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 用户-角色
 * </p>
 *
 * @author
 * @since 2022-03-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="RoleUser对象", description="用户-角色")
public class RoleUser implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "用户编号")
    private Integer uid;

    @ApiModelProperty(value = "角色编号")
    private Integer roleId;

    public RoleUser() {
    }

    public RoleUser(Integer uid, Integer roleId) {
        this.uid = uid;
        this.roleId = roleId;
    }
}
